package com.forekonw.deom2;

import java.util.Scanner;

/**
 * 二选一
 */

public class ControlDemo2 {
    public static void main(String[] args) {
        Scanner input = new Scanner(System.in);
        System.out.println("请输入数字");
        double a = input.nextDouble();
        if (a % 2 ==0){
            System.out.println("不是奇数");
        }else{
            System.out.println("是奇数");
        }
        System.out.println("程序执行完毕......");
    }
//    public static void main(String[] args) {
//        Scanner input = new Scanner(System.in);
//        System.out.println("请输入成绩");
//        int scroe = input.nextInt();
//        if (scroe > 98){
//            System.out.println("very good......");
//        }else{
//            System.out.println("no  good......");
//        }
//        System.out.println("程序执行完毕......");
//    }
}
